from configs.db_config import MySQLPools
from configs.nosql_config import RedisClient
from configs.log_config import Log


class Module:
    def __init__(self):
        self.pools = MySQLPools().DynamicCreateConnectionPools()
        self.AIDataPool = self.pools['ai_platform_pool']
        self.MqttDataPool = self.pools['mqtt_user_pool']
        self.redis_client = RedisClient().redis_client
        self.log = Log()

